projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94782e9
)
Fix warning
author
Ignacio Casal Quinteiro
<icq@gnome.org>
Sat, 6 Aug 2011 16:56:01 +0000
(18:56 +0200)
committer
Ignacio Casal Quinteiro
<icq@gnome.org>
Sat, 6 Aug 2011 17:02:16 +0000
(19:02 +0200)
gtk/gtkstyleproperty.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstyleproperty.c
b/gtk/gtkstyleproperty.c
index 6ffb46c446a7abcd2836a6d64c7255b63f37b77e..73200dc3e44859182173b515d2e310dd1e0d23ae 100644
(file)
--- a/
gtk/gtkstyleproperty.c
+++ b/
gtk/gtkstyleproperty.c
@@
-3001,5
+3001,6
@@
_gtk_style_property_register (GParamSpec *pspec,
node->default_value_func = default_value_func;
node->unset_func = unset_func;
- g_hash_table_insert (properties, pspec->name, node);
+ /* pspec owns name */
+ g_hash_table_insert (properties, (gchar *)pspec->name, node);
}